package com.example.idemfactor.app.service.impl;

import com.example.idemfactor.sdk.interfaces.IdemFallback;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
public class MapIdmtFallbackImpl implements IdemFallback<Map> {

    @Override
    public Map callback() {
        Map map =new HashMap();
        map.put("methon","降级方法");
        return map;
    }

}
